#include "htmlattribute.h"

HtmlAttribute::HtmlAttribute(const QString& name, const QString& value, const YYLTYPE& loc)
        : Node(loc), m_name(name), m_value(value), m_expr(0)
{
}

HtmlAttribute::HtmlAttribute(const QString& name, Node* value, const YYLTYPE& loc)
        : Node(loc), m_name(name), m_expr(value)
{
    appendChild( value );
}
